import {Api} from "@/common/api";
import {requestMethod} from "@/common/request";
// 宣传片列表
export class VideoList extends Api {
  constructor() {
    super("api/v1/Xyhc-index");
    this.method(requestMethod.GET);
  }
}

// 校园宣传片创建
export class VideoAdd extends Api {
  constructor() {
    super("api/v1/Xyhc-create");
    this.method(requestMethod.POST);
  }
}

// 删除宣传片
export class VideoDelete extends Api {
  constructor() {
    super("api/v1/Xyhc-delete");
    this.method(requestMethod.POST);
  }
}

// 修改宣传片
export class VideoEdit extends Api {
  constructor() {
    super("api/v1");
    this.method(requestMethod.POST);
  }
}

// 日志统计
export class LogCount extends Api {
  constructor() {
    super("api/v1/czlog-count");
    this.method(requestMethod.GET);
  }
}

// 日志
export class LogList extends Api {
  constructor() {
    super("api/v1/czlog-index");
    this.method(requestMethod.GET);
  }
}

// 日志导出
export class LogExport extends Api {
  constructor() {
    super("api/v1/czlog-dao");
    this.method(requestMethod.GET);
  }
}

// 告警时间列表
export class GjList extends Api {
  constructor() {
    super("api/v1/Gjsz-index");
    this.method(requestMethod.GET);
  }
}

// 告警时间修改
export class GjEdit extends Api {
  constructor() {
    super("api/v1");
    this.method(requestMethod.POST);
  }
}

// 考勤规则编辑
export class ClockingInEdit extends Api {
  constructor() {
    super("api/v1/Kq-edit/1");
    this.method(requestMethod.POST);
  }
}

// 考勤规则查看
export class ClockingIn extends Api {
  constructor() {
    super("api/v1/Kq-index");
    this.method(requestMethod.GET);
  }
}

// 账号列表
export class AccountList extends Api {
  constructor() {
    super("api/v1/adminuser-index");
    this.method(requestMethod.GET);
  }
}

// 删除账号
export class AccountRemove extends Api {
  constructor() {
    super("api/v1/adminuser-delete");
    this.method(requestMethod.POST);
  }
}

// 修改账号
export class AccountEdit extends Api {
  constructor() {
    super("api/v1");
    this.method(requestMethod.POST);
  }
}

// 创建账号
export class AccountAdd extends Api {
  constructor() {
    super("api/v1/adminuser-create");
    this.method(requestMethod.POST);
  }
}

// 账号详情
export class Accountshow extends Api {
  constructor() {
    super("api/v1/adminuser-show");
    this.method(requestMethod.GET);
  }
}

// 海康监控修改
export class CameraEdit extends Api {
  constructor() {
    super("api/v1");
    this.method(requestMethod.POST);
  }
}
// 车辆设置
export class CarGet extends Api {
  constructor() {
    super("api/v1/Clse-index");
    this.method(requestMethod.GET);
  }
}
// 车辆设置修改
export class CarSetApi extends Api {
  constructor() {
    super("api/v1/Clse-edit");
    this.method(requestMethod.POST);
  }
}
